package main
import "fmt"

type Person struct {
	name string
	age int
	gender string
}

func (p *Person) setName(name string) {
	p.name = name 
}

func main() {
	var p = Person{
		name: "Tom",
		age: 18,
		gender: "male",
	}
	p.setName("Jerry")
	fmt.Println(p)
}